<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>个人中心</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"/>
    <meta http-equiv="Pragma" content="no-cache"/>
    <meta http-equiv="Expires" content="0"/>
    <link rel="shortcut icon" href="image/favicon.png">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="stylesheet" href="./css/light7.min.css">
    <link rel="stylesheet" href="./css/public.css?v=201812103">
    <link rel="stylesheet" href="./css/center.css?v=201812103">
</head>
<body>
<div class="page-group">

    <div class="page">
        <!-- 这里是页面内容区 -->
        <div class="content" >
          <div class="center-header" id="content_box">
          </div>
            <!--列表-->
            <div class="list-block" id="list_block">
            </div>
        </div>
        <!--工具栏-->
        <nav class="bar bar-tab">
            <a class="tab-item external"  href="javascript:void(0)" id="dingdan">
                <img class="tab-img" src="./image/dingdan.png" id="dingdan_img" width="25" height="25"  alt="">
                <span class="tab-label">订单管理</span>
            </a>
            <a class="tab-item external" href="javascript:void(0)" id="daoke">
                <img class="tab-img" src="./image/daoke.png" alt="" id="daoke-img" width="25" height="25">
                <span class="tab-label">客户管理</span>
            </a>
            <a class="tab-item external active" href="javascript:void(0)" id="wode">
                <img class="tab-img" src="./image/wode-active.png" alt="" id="wode-img" width="25" height="25">
                <span class="tab-label">个人中心</span>
            </a>
        </nav>
    </div>
</div>
<script type="text/html" id="center_container">
    <img class="center-header-img" src="image/member.png" alt="">
        <p class="center-header-p">{{data.name}}</p>

</script>
<script type="text/html" id="list_container">
    <ul>
        <li class="item-content">
            <!--<div class="item-media">-->
                <!--<img src="image/sha.png" alt="">-->
            <!--</div>-->
            <div class="item-inner">
                <div class="item-title">总派单量 </div>
                <div class="item-after">{{data.total_order_num}}</div>
            </div>
        </li>
        <li class="item-content">
            <!--<div class="item-media"> <img src="image/sha.png" alt=""></div>-->
            <div class="item-inner">
                <div class="item-title">总送货量 </div>
                <div class="item-after">{{data.total_bucket_num}}</div>
            </div>
        </li>
        <li class="item-content">
            <!--<div class="item-media"> <img src="image/sha.png" alt=""></div>-->
            <div class="item-inner">
                <div class="item-title">总回桶数 </div>
                <div class="item-after">{{data.total_back_bucket_num}}</div>
            </div>
        </li>
    </ul>
    {{if !data.openid}}
    <p><a href="{{worker_bindwx}}" class="button button-big external">绑定微信 </a></p>
    {{/if}}
    {{if data.openid}}
    <p id="remove-bindwx"><a href="javascript:void(0)" class="button button-big external">解除微信绑定 </a></p>
    {{/if}}
    <p><a href="javascript:redirect('edit-password.html')" class="button button-big external">修改密码 </a></p>
    <p><a href="javascript:void(0);" class="button button-big external" onclick="logout()">退出登录</a></p>
</script>
<script src="./js/jquery-3.2.1.min.js"></script>
<script src='./js/light7.js'></script>
<script src="./js/art-template.js"></script>
<script src="./js/config.js?v=201812103"></script>
<script src="./js/commen.js?v=201812103"></script>
<script src="./js/center.js?v=201812103"></script>
</body>
</html>
